package cs422.project2.testing;

import processing.core.PApplet;

public class Credits 
{
	PApplet parent;

	public Credits(PApplet parent) 
	  {

		this.parent = parent;
	  }
	
	public void writeCredits()
	{
		parent.fill(0,0,0);
		parent.rect(0,0,parent.width,parent.height);

		parent.textAlign(0);
		parent.fill(255,255,255);
		parent.textSize(15);
		parent.text("Monster Mash", (float).2*parent.width,(float).1*parent.height);
		parent.text("Visualization Project 02",(float).2*parent.width,(float).15*parent.height);
		
		parent.text("Group Members", (float).2*parent.width,(float).25*parent.height);
		parent.text("Anosh Mehdi", (float).2*parent.width,(float).3*parent.height);
		parent.text("Gaurav Purandare", (float).2*parent.width,(float).35*parent.height);
		parent.text("Payas Tikotekar", (float).2*parent.width,(float).4*parent.height);
		
		parent.text("University of Illinois at Chicago", (float).2*parent.width,(float).5*parent.height);
		parent.text("Chicago, IL 60612", (float).2*parent.width,(float).55*parent.height);
		
		parent.text("Data Sources", (float).2*parent.width,(float).65*parent.height);
		parent.text("www.imdb.com", (float).2*parent.width,(float).7*parent.height);
		
		parent.text("Group Website", (float).2*parent.width,(float).8*parent.height);
		parent.text("sites.google.com", (float).2*parent.width,(float).85*parent.height);
	}
}
